package Entities;

import java.math.BigDecimal;

public class Order_item {
	private int itemNo;
	private Integer quantity;
	private BigDecimal sellingPrice;
	private BigDecimal discount;
	Stock_item uPC;
	Purchase_order pO_No;

    public Order_item(int itemNo, Integer quantity, BigDecimal sellingPrice, BigDecimal discount, Stock_item uPC, Purchase_order pO_No) {
        this.itemNo = itemNo;
        this.quantity = quantity;
        this.sellingPrice = sellingPrice;
        this.discount = discount;
        this.uPC = uPC;
        this.pO_No = pO_No;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public int getItemNo() {
        return itemNo;
    }

    public void setItemNo(int itemNo) {
        this.itemNo = itemNo;
    }

    public Purchase_order getpO_No() {
        return pO_No;
    }

    public void setpO_No(Purchase_order pO_No) {
        this.pO_No = pO_No;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(BigDecimal sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public Stock_item getuPC() {
        return uPC;
    }

    public void setuPC(Stock_item uPC) {
        this.uPC = uPC;
    }
        
}